import request from '@/utils/request'

// 查询专业列表
export function listMajor(query) {
    return request({
        url: '/sqlserverdata/getSpecialtyInfoList',
        method: 'get',
        params: query
    })
}
//详细查询专业代码
export function getzydm(zydm) {
    return request({
        url: '/sqlserverdata/getSpecialtyzydm/'+zydm,
        method: 'get'
    })
}
// 同步专业信息
export function syncMajorinfo() {
    return request({
        url: "/sqlserverdata/synchronousSpecialtyInfoList",
        method: 'post'
    })
}
